package com.njbdqn.ALi.zjg.services;

import java.util.List;

import com.njbdqn.ALi.zjg.dao.SubcommentDAO;
import com.njbdqn.ALi.zjg.entity.Comment;

public class SubcommentService {
	private SubcommentDAO sdao;
	
	public SubcommentService(){
		sdao = new SubcommentDAO();
	}
	public int save(Comment comment){
		return sdao.save(comment);
	}
	public List findAll(int book_id,int replyid){
		return sdao.findAll(book_id, replyid);
	}
}
